package com.ruoyi.applet.appletReceivingAddress.service;

import com.github.pagehelper.Page;
import com.ruoyi.applet.appletReceivingAddress.domain.AppletReceivingAddress;
import com.ruoyi.applet.entity.PageR;
import com.ruoyi.applet.entity.ReceivingAddressApplet;

import java.util.List;

/**
 * 小程序用户收货地址Service接口
 * @author ruoyi
 * @date 2024-12-17
 */
public interface IAppletReceivingAddressService {
    
    /**
     * 查询小程序用户收货地址
     * @param id 小程序用户收货地址主键
     * @return 小程序用户收货地址
     */
    public AppletReceivingAddress selectAppletReceivingAddressById(Long id);
    
    /**
     * 查询小程序用户收货地址列表
     * @param appletReceivingAddress 小程序用户收货地址
     * @return 小程序用户收货地址集合
     */
    public List<AppletReceivingAddress> selectAppletReceivingAddressList(AppletReceivingAddress appletReceivingAddress);
    
    /**
     * 新增小程序用户收货地址
     * @param appletReceivingAddress 小程序用户收货地址
     * @return 结果
     */
    public int insertAppletReceivingAddress(AppletReceivingAddress appletReceivingAddress);
    
    /**
     * 修改小程序用户收货地址
     * @param appletReceivingAddress 小程序用户收货地址
     * @return 结果
     */
    public int updateAppletReceivingAddress(AppletReceivingAddress appletReceivingAddress);
    
    /**
     * 批量删除小程序用户收货地址
     * @param ids 需要删除的小程序用户收货地址主键集合
     * @return 结果
     */
    public int deleteAppletReceivingAddressByIds(String ids);
    
    /**
     * 删除小程序用户收货地址信息
     * @param id 小程序用户收货地址主键
     * @return 结果
     */
    public int deleteAppletReceivingAddressById(Long id);
    
    
    
    /**
     * 查询小程序用户收货地址列表
     * @param receivingAddressApplet 查询条件
     * @return {@link Page<AppletReceivingAddress>}
     */
    PageR<AppletReceivingAddress> selectAppletReceivingAddressListApplet(ReceivingAddressApplet receivingAddressApplet);
}
